/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sellcar;

/**
 *
 * @author Francisco
 */
public class Cotacao_Veiculo extends javax.swing.JFrame {

    /** Creates new form Cotacao_Veiculo */
    public Cotacao_Veiculo() {
        initComponents();
        this.setLocationRelativeTo(null);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        Titulo = new javax.swing.JLabel();
        CodCarro = new javax.swing.JTextField();
        jLabel1 = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        jSeparator3 = new javax.swing.JSeparator();
        ChTravas = new javax.swing.JCheckBox();
        ChVidros = new javax.swing.JCheckBox();
        jSeparator1 = new javax.swing.JSeparator();
        ChDirHi = new javax.swing.JCheckBox();
        jSeparator2 = new javax.swing.JSeparator();
        ChAbs = new javax.swing.JCheckBox();
        ChArCond = new javax.swing.JCheckBox();
        ChCd = new javax.swing.JCheckBox();
        ChAirBag = new javax.swing.JCheckBox();
        ChAlarme = new javax.swing.JCheckBox();
        ChDvd = new javax.swing.JCheckBox();
        ChTeto = new javax.swing.JCheckBox();
        TxtCor = new javax.swing.JTextField();
        TxtKm = new javax.swing.JTextField();
        TxtPlaca = new javax.swing.JFormattedTextField();
        TxTFab = new javax.swing.JTextField();
        CombPortas = new javax.swing.JComboBox();
        CombCambio = new javax.swing.JComboBox();
        Cor = new javax.swing.JLabel();
        CombCombust = new javax.swing.JComboBox();
        RDUsado = new javax.swing.JRadioButton();
        Km = new javax.swing.JLabel();
        ComModelo = new javax.swing.JComboBox();
        CombMarca = new javax.swing.JComboBox();
        TituloOp = new javax.swing.JLabel();
        RdNovo = new javax.swing.JRadioButton();
        RdImp = new javax.swing.JRadioButton();
        RdNac = new javax.swing.JRadioButton();
        Fabric = new javax.swing.JLabel();
        ChBanco = new javax.swing.JCheckBox();
        ChCompu = new javax.swing.JCheckBox();
        ChLimpador = new javax.swing.JCheckBox();
        ChDesen = new javax.swing.JCheckBox();
        Placa = new javax.swing.JLabel();
        ChSensor = new javax.swing.JCheckBox();
        jButton1 = new javax.swing.JButton();
        BtVoltar = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        Titulo.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        Titulo.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Titulo.setText("Cotação de Veiculo");

        jLabel1.setText("Cod/Placa Veiculo");

        ChTravas.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChTravas.setText("Travas Eletricas");

        ChVidros.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChVidros.setText("Vidros Eletricos");

        ChDirHi.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChDirHi.setText("Direção Hidraulica");

        ChAbs.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChAbs.setText("Freio ABS");

        ChArCond.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChArCond.setText("Ar Condicionado");

        ChCd.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChCd.setText("CD Player");

        ChAirBag.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChAirBag.setText("Air Bag");
        ChAirBag.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                ChAirBagActionPerformed(evt);
            }
        });

        ChAlarme.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChAlarme.setText("Alarme");

        ChDvd.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChDvd.setText("DVD Player");

        ChTeto.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChTeto.setText("Teto Solar");

        TxtCor.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N

        TxtKm.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N

        try {
            TxtPlaca.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter("AAA-AAAA")));
        } catch (java.text.ParseException ex) {
            ex.printStackTrace();
        }
        TxtPlaca.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        TxtPlaca.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                TxtPlacaActionPerformed(evt);
            }
        });

        TxTFab.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N

        CombPortas.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        CombPortas.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Portas", "2", "3", "4" }));

        CombCambio.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        CombCambio.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Cambio", "Automatica", "Automatica Sequencia", "CVT", "Manual", "Semi-Automatico" }));

        Cor.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Cor.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Cor.setText("Cor");

        CombCombust.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        CombCombust.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Combustivel", "Alcool", "Diesel", "Flex", "Gas Natural", "Gasolina", " " }));

        RDUsado.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        RDUsado.setText("Usado");

        Km.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Km.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Km.setText("Kilometragem");

        ComModelo.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ComModelo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Modelo", "Corsa", "Uno", "Focus", "206", "Clio", "Gol" }));

        CombMarca.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        CombMarca.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Marca", "Chevrolet", "Fiat", "Ford", "Peugeot", "Renault", "Volkswagen" }));

        TituloOp.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        TituloOp.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        TituloOp.setText("Opcionais");

        RdNovo.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        RdNovo.setText("Novo");

        RdImp.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        RdImp.setText("Importado");
        RdImp.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                RdImpActionPerformed(evt);
            }
        });

        RdNac.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        RdNac.setText("Nacional");

        Fabric.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Fabric.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Fabric.setText("Ano de Fab.");

        ChBanco.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChBanco.setText("Banco de Couro");

        ChCompu.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChCompu.setText("Computador de Bordo");

        ChLimpador.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChLimpador.setText("Limpador Traseiro");

        ChDesen.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChDesen.setText("Desembaçador Traseiro");

        Placa.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        Placa.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Placa.setText("Placa");

        ChSensor.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        ChSensor.setText("Sensor de Estacionamento");

        jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/sellcar/Icones/printer.png"))); // NOI18N
        jButton1.setMnemonic('G');
        jButton1.setText("Gerar");

        BtVoltar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/sellcar/Icones/arrow_left.png"))); // NOI18N
        BtVoltar.setMnemonic('S');
        BtVoltar.setText("Voltar");
        BtVoltar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BtVoltarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addGap(0, 8, Short.MAX_VALUE)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                                .addComponent(RdNac)
                                .addGap(18, 18, 18)
                                .addComponent(RdImp)
                                .addGap(35, 35, 35)
                                .addComponent(RdNovo)
                                .addGap(18, 18, 18)
                                .addComponent(RDUsado)
                                .addGap(204, 204, 204))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                                        .addGap(18, 18, 18)
                                        .addComponent(TxTFab, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18))
                                    .addGroup(jPanel1Layout.createSequentialGroup()
                                        .addGap(18, 18, 18)
                                        .addComponent(Fabric, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(21, 21, 21)))
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
                                        .addComponent(Placa, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(Km, javax.swing.GroupLayout.PREFERRED_SIZE, 81, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(Cor, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(jPanel1Layout.createSequentialGroup()
                                        .addComponent(TxtPlaca, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(TxtKm, javax.swing.GroupLayout.PREFERRED_SIZE, 81, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(TxtCor, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(15, 15, 15)))
                                .addGap(73, 73, 73))))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jSeparator1, javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGap(83, 83, 83)
                                .addComponent(TituloOp, javax.swing.GroupLayout.PREFERRED_SIZE, 238, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(jButton1)))
                        .addContainerGap())
                    .addComponent(jSeparator2)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addComponent(CombMarca, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(ComModelo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(CombCombust, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(CombCambio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(CombPortas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(ChAirBag)
                                    .addComponent(ChAlarme)
                                    .addComponent(ChArCond)
                                    .addComponent(ChCd)
                                    .addComponent(ChDvd))
                                .addGap(8, 8, 8)
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(ChVidros)
                                    .addComponent(ChTeto)
                                    .addComponent(ChTravas)
                                    .addComponent(ChAbs)
                                    .addComponent(ChDirHi))
                                .addGap(25, 25, 25)
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanel1Layout.createSequentialGroup()
                                        .addComponent(ChSensor)
                                        .addGap(18, 18, 18)
                                        .addComponent(BtVoltar))
                                    .addComponent(ChCompu)
                                    .addComponent(ChDesen)
                                    .addComponent(ChLimpador)
                                    .addComponent(ChBanco))))
                        .addGap(0, 12, Short.MAX_VALUE))))
            .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel1Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jSeparator3)
                    .addContainerGap()))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(RDUsado)
                    .addComponent(RdNovo)
                    .addComponent(RdImp)
                    .addComponent(RdNac))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(CombMarca, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(ComModelo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(CombCombust, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(CombCambio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(CombPortas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(5, 5, 5)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(Cor)
                    .addComponent(Km)
                    .addComponent(Placa)
                    .addComponent(Fabric))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(TxtCor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TxtKm, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TxtPlaca, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(TxTFab, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 40, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(jButton1)
                        .addGap(7, 7, 7)
                        .addComponent(ChAirBag)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(ChAlarme))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(TituloOp)
                        .addGap(18, 18, 18)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(ChDirHi)
                                    .addComponent(ChSensor)
                                    .addComponent(BtVoltar))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(ChAbs))
                            .addComponent(ChBanco, javax.swing.GroupLayout.Alignment.TRAILING))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(ChArCond)
                            .addComponent(ChTravas))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(ChCd)
                            .addComponent(ChVidros))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(ChDvd)
                            .addComponent(ChTeto)))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addComponent(ChLimpador)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(ChDesen)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(ChCompu)
                        .addContainerGap())))
            .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                    .addContainerGap(146, Short.MAX_VALUE)
                    .addComponent(jSeparator3, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(170, 170, 170)))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(CodCarro, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel1))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(209, 209, 209)
                        .addComponent(Titulo))
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(Titulo)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(CodCarro, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel1))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void ChAirBagActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ChAirBagActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_ChAirBagActionPerformed

    private void TxtPlacaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_TxtPlacaActionPerformed
        // TODO add your handling code here:

   }//GEN-LAST:event_TxtPlacaActionPerformed

    private void RdImpActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_RdImpActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_RdImpActionPerformed

    private void BtVoltarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BtVoltarActionPerformed
        // Botão Voltar
        // Encerra a tela de cadastro
        this.dispose();
    }//GEN-LAST:event_BtVoltarActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Cotacao_Veiculo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Cotacao_Veiculo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Cotacao_Veiculo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Cotacao_Veiculo.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Cotacao_Veiculo().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton BtVoltar;
    private javax.swing.JCheckBox ChAbs;
    private javax.swing.JCheckBox ChAirBag;
    private javax.swing.JCheckBox ChAlarme;
    private javax.swing.JCheckBox ChArCond;
    private javax.swing.JCheckBox ChBanco;
    private javax.swing.JCheckBox ChCd;
    private javax.swing.JCheckBox ChCompu;
    private javax.swing.JCheckBox ChDesen;
    private javax.swing.JCheckBox ChDirHi;
    private javax.swing.JCheckBox ChDvd;
    private javax.swing.JCheckBox ChLimpador;
    private javax.swing.JCheckBox ChSensor;
    private javax.swing.JCheckBox ChTeto;
    private javax.swing.JCheckBox ChTravas;
    private javax.swing.JCheckBox ChVidros;
    private javax.swing.JTextField CodCarro;
    private javax.swing.JComboBox ComModelo;
    private javax.swing.JComboBox CombCambio;
    private javax.swing.JComboBox CombCombust;
    private javax.swing.JComboBox CombMarca;
    private javax.swing.JComboBox CombPortas;
    private javax.swing.JLabel Cor;
    private javax.swing.JLabel Fabric;
    private javax.swing.JLabel Km;
    private javax.swing.JLabel Placa;
    private javax.swing.JRadioButton RDUsado;
    private javax.swing.JRadioButton RdImp;
    private javax.swing.JRadioButton RdNac;
    private javax.swing.JRadioButton RdNovo;
    private javax.swing.JLabel Titulo;
    private javax.swing.JLabel TituloOp;
    private javax.swing.JTextField TxTFab;
    private javax.swing.JTextField TxtCor;
    private javax.swing.JTextField TxtKm;
    private javax.swing.JFormattedTextField TxtPlaca;
    private javax.swing.JButton jButton1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JSeparator jSeparator2;
    private javax.swing.JSeparator jSeparator3;
    // End of variables declaration//GEN-END:variables

}
